package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.domain.Elder;
import com.zzyl.nursing.domain.NursingTask;
import com.zzyl.nursing.dto.NursingTaskDto;
import com.zzyl.nursing.vo.NursingTaskUpVo;
import com.zzyl.nursing.vo.NursingTaskVo;

import java.util.List;
import com.zzyl.nursing.dto.CancelDto;
import com.zzyl.nursing.dto.PerformTasksDto;
import com.zzyl.nursing.vo.NursingTaskVo;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 护理任务Service接口
 *
 * @author ruoyi
 * @date 2024-09-27
 */
public interface INursingTaskService extends IService<NursingTask>
{
    /**
     * 查询护理任务
     *
     * @param id 护理任务主键
     * @return 护理任务
     */
    public NursingTaskUpVo selectNursingTaskById(Long id);




    /**
     * 生成护理任务
     * @param elder
     */
    void createMonthTask(Elder elder);

    List<NursingTask> selectNursingTaskList(NursingTaskDto nursingTaskDto);

    NursingTaskVo selectNursingTaskDetailById(Integer id);


    void cancel(CancelDto dto);

    void performTasks(PerformTasksDto dto);

    void updateTime(PerformTasksDto dto);
}
